/*
*************************************************************************
*西瑞克斯研发管理系统
*版 本: 1.0   
*日 期：03/01/2012    
*作 者： 王浩 QQ：873987060   
*************************************************************************   
*/ 
package com.application.yfsyslog.entity;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import com.manager.IBaseBean;
import java.util.Date;
 /**
 * 
 * Description:YfSyslog实体<br />
 * 
 * Version:V0.1<br />
 * 
 * Author: 王浩 QQ：873987060    <br />
 * 
 * History: <br />
 * 
 * 03/01/2012 
 * 
 */
@Entity
@Table(name="yf_syslog")
public class YfSyslog implements IBaseBean
{

	/** serialVersionUID */
	protected static final long serialVersionUID = -1L;
	
	public YfSyslog(){
  
	}

			        @Id
				@Column(name="id")
	private String id;  //$field.label
        
        		@Column(name="user_id")
	private String userId;  //$field.label
        
        		@Column(name="login_time")
	private Date loginTime;  //$field.label
        
        		@Column(name="out_time")
	private Date outTime;  //$field.label
        
        		@Column(name="mac")
	private String mac;  //$field.label
        
        		@Column(name="ip")
	private String ip;  //$field.label
        
        		@Column(name="org")
	private String org;  //$field.label
        
        		@Column(name="operateid")
	private String operateid;  //$field.label
        
        		@Column(name="create_date")
	private Date createDate;  //$field.label
        
        		@Transient
       private String rname;
        	/**
	 * ${field.getLabel()}
	 * @return Returns the Id.
	 */
	public String getId(){
		return this.id;
	}
	
	/**
	 * @param id Set the id.
	 */	
	public void setId(String id){
		this.id = id;
	}
		
        	/**
	 * ${field.getLabel()}
	 * @return Returns the UserId.
	 */
	public String getUserId(){
		return this.userId;
	}
	
	/**
	 * @param userId Set the userId.
	 */	
	public void setUserId(String userId){
		this.userId = userId;
	}
		
        	/**
	 * ${field.getLabel()}
	 * @return Returns the LoginTime.
	 */
	public Date getLoginTime(){
		return this.loginTime;
	}
	
	/**
	 * @param loginTime Set the loginTime.
	 */	
	public void setLoginTime(Date loginTime){
		this.loginTime = loginTime;
	}
		
        	/**
	 * ${field.getLabel()}
	 * @return Returns the OutTime.
	 */
	public Date getOutTime(){
		return this.outTime;
	}
	
	/**
	 * @param outTime Set the outTime.
	 */	
	public void setOutTime(Date outTime){
		this.outTime = outTime;
	}
		
        	/**
	 * ${field.getLabel()}
	 * @return Returns the Mac.
	 */
	public String getMac(){
		return this.mac;
	}
	
	/**
	 * @param mac Set the mac.
	 */	
	public void setMac(String mac){
		this.mac = mac;
	}
		
        	/**
	 * ${field.getLabel()}
	 * @return Returns the Ip.
	 */
	public String getIp(){
		return this.ip;
	}
	
	/**
	 * @param ip Set the ip.
	 */	
	public void setIp(String ip){
		this.ip = ip;
	}
		
        	/**
	 * ${field.getLabel()}
	 * @return Returns the Org.
	 */
	public String getOrg(){
		return this.org;
	}
	
	/**
	 * @param org Set the org.
	 */	
	public void setOrg(String org){
		this.org = org;
	}
		
        	/**
	 * ${field.getLabel()}
	 * @return Returns the Operateid.
	 */
	public String getOperateid(){
		return this.operateid;
	}
	
	/**
	 * @param operateid Set the operateid.
	 */	
	public void setOperateid(String operateid){
		this.operateid = operateid;
	}
		
        	/**
	 * ${field.getLabel()}
	 * @return Returns the CreateDate.
	 */
	public Date getCreateDate(){
		return this.createDate;
	}
	
	/**
	 * @param createDate Set the createDate.
	 */	
	public void setCreateDate(Date createDate){
		this.createDate = createDate;
	}
		
                public String toString(){
		return ReflectionToStringBuilder.toString(this,ToStringStyle.MULTI_LINE_STYLE);
	}

				public String getRname() {
					return rname;
				}

				public void setRname(String rname) {
					this.rname = rname;
				}
}
